package com.jsh.erp.datasource.vo;

import com.jsh.erp.datasource.entities.PromotionHead;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

public class PromotionVoDetail extends PromotionHead {
    @ApiModelProperty("促销子表id")
    private String pid;
    @ApiModelProperty("商品id")
    private String materialId;
    @ApiModelProperty("条码")
    private String barCode;
    @ApiModelProperty("单位")
    private String commodityUnit;
    @ApiModelProperty("单价")
    private BigDecimal unitPrice;
    @ApiModelProperty("折扣 百分比 ")
    private BigDecimal discount;
    @ApiModelProperty("特价")
    private BigDecimal specialPrice;
    @ApiModelProperty("每单限量")
    private Integer limitQuantity;
    @ApiModelProperty("累计限量")
    private Integer limitCumulative;
    @ApiModelProperty("已促销数量")
    private Integer quantityPromotion;
    @ApiModelProperty("买满金额")
    private BigDecimal fullAmout;
    @ApiModelProperty("减免金额")
    private BigDecimal creditAmount;
    @ApiModelProperty("购买数量")
    private BigDecimal purchaseQuantity;

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getCommodityUnit() {
        return commodityUnit;
    }

    public void setCommodityUnit(String commodityUnit) {
        this.commodityUnit = commodityUnit;
    }


    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getSpecialPrice() {
        return specialPrice;
    }

    public void setSpecialPrice(BigDecimal specialPrice) {
        this.specialPrice = specialPrice;
    }


    public Integer getLimitQuantity() {
        return limitQuantity;
    }

    public void setLimitQuantity(Integer limitQuantity) {
        this.limitQuantity = limitQuantity;
    }

    public Integer getLimitCumulative() {
        return limitCumulative;
    }

    public void setLimitCumulative(Integer limitCumulative) {
        this.limitCumulative = limitCumulative;
    }

    public Integer getQuantityPromotion() {
        return quantityPromotion;
    }

    public void setQuantityPromotion(Integer quantityPromotion) {
        this.quantityPromotion = quantityPromotion;
    }

    public BigDecimal getFullAmout() {
        return fullAmout;
    }

    public void setFullAmout(BigDecimal fullAmout) {
        this.fullAmout = fullAmout;
    }

    public BigDecimal getCreditAmount() {
        return creditAmount;
    }

    public void setCreditAmount(BigDecimal creditAmount) {
        this.creditAmount = creditAmount;
    }

    public BigDecimal getPurchaseQuantity() {
        return purchaseQuantity;
    }

    public void setPurchaseQuantity(BigDecimal purchaseQuantity) {
        this.purchaseQuantity = purchaseQuantity;
    }
}
